package com.dq.Week2.day06;

public class Demo03 {
    public static void main(String[] args) {

        Fish fish = new Fish("罗飞鱼", "淡水鱼", "男", 2, "青色", true);
        fish.sleep();
        System.out.println(fish);
        fish.swim();
        System.out.println(fish);
        fish.yaoGou();
        System.out.println(fish);


//        Fish fish = new Fish();
//        fish.setName("罗飞🐟");
//        fish.setAge(1);
//        fish.setSex("女");
//        fish.setType("淡水鱼");
//        System.out.println(fish);
//        fish.eat();
//        fish.sleep();

//        Dog dog1 = new Dog();
//        System.out.println(dog1);
//        dog1.lookHouse();
//        System.out.println(dog1);
//
//        Dog dog2 = new Dog("小黑", "哈士奇", "男", 3, "嗷嗷");
//        System.out.println(dog2);
//        dog2.lookHouse();
//        System.out.println(dog2);

    }
}